<div class="navbar">
    <div class="navbar-inner">
        <ul class="nav pull-right">
            <li>
                <a href="#" role="button">
                    <i class="avatar">
                        <img src="<?php echo $LoginAdmin['avatar'];?>" style="width: 20px;height:20px;margin-right:5px;border-radius:100%;" alt="">
                    </i>
                    <?php echo $LoginAdmin['nickname'] ? $LoginAdmin['nickname'] : $LoginAdmin['username'] ;?>
                </a>
            </li>
            <li>
                <a href="index.php?logout=1" class="hidden-phone visible-tablet visible-desktop" role="button" onclick="return confirm('确认退出？')">Logout</a>
            </li>
        </ul>
        <a class="brand" href="index.php"><span class="second">学生成绩管理系统</span></a>
    </div>
</div>